package org.piwicode.bywordofmouth;

import java.io.File;
import java.net.URI;

/**
 *
 * @author pierre
 */
public class Chunk {

    private final File file;
    private final long offset;
    private final int length;

    public Chunk(File file, long offset, int length) {
        this.file = file;
        this.offset = offset;
        this.length = length;
    }

    public File file() {
        return file;
    }

    public long offset() {
        return offset;
    }

    public int length() {
        return length;
    }

}
